An Inference Mechanism for the Compilation of Interactive Array Languages

نویسندگان

  • Luiz De Rose
  • David Padua
چکیده

Interactive array languages are powerful programming tools for the development of programs for numerical computation. They provide an environment that tends to increase productivity in software development. The trade-off is that in order to provide this nicer programming environment, array languages are usually interpreted, with the resulting negative effect on performance. The ideal programming environment for the development of programs for numerical computation should use an interactive array language for the conception and development phase of the program and a compiler for the production phase. Performance can be further improved with the exploitation of parallelism. This paper presents an inference mechanism that is used for the compilation of Matlab programs into Fortran 90. This approach combines static and dynamic inference methods for type, rank, and shape inference. This work was supported by NIST under Grant No. MDA904-92-C-2312 and the CSRD Affiliates under grants from the U.S. National Security Agency and the Motorola Corporation.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Compilation Scheme for a Hierarchy of Array Types

In order to achieve a high level of abstraction, array-oriented languages provide language constructs for defining array operations in a shape-invariant way. However, when trying to compile such generic array operations into efficiently executable code, static knowledge of exact shapes is essential. Therefore, modern compilers try to infer the shapes of all arrays used in a program. Unfortunate...

متن کامل

An Incremental Type Inference System for the Programming Language

Modern computing environments strive to be robust and reliable, and at the same time, aim at providing enough exibility to an interactive user to edit, debug, and test programs easily and e ciently. Strongly typed languages satisfactorily meet the former goal by guaranteeing that \type-consistent" programs will not incur run-time type-errors. But most programming environments for such languages...

متن کامل

A Formal Semantics and an Interactive Environment for Sisal

We present a formal deenition of the dynamic semantics of a signiicant part of the language Sisal 2.0 in the structural operational style of Natural Semantics, using Ty-pol inference rules within the Centaur system, a generic speciication environment. Sisal is a strongly typed, applicative, single assignment language in use on a variety of parallel processors, including conventional multiproces...

متن کامل

An Approach to Array Shape Determination in MATLAB

One of the main hurdles that array-based languages such as MATLAB and APL pose to compilation is the lack of an explicit declaration for an array’s shape. In programs written using these languages, the attributes of intrinsic type and shape for a variable are implicitly characterized by the defining expression for that variable. In addition, these attributes are allowed to change on the fly. On...

متن کامل

Comparison Between Unsupervised and Supervise Fuzzy Clustering Method in Interactive Mode to Obtain the Best Result for Extract Subtle Patterns from Seismic Facies Maps

Pattern recognition on seismic data is a useful technique for generating seismic facies maps that capture changes in the geological depositional setting. Seismic facies analysis can be performed using the supervised and unsupervised pattern recognition methods. Each of these methods has its own advantages and disadvantages. In this paper, we compared and evaluated the capability of two unsuperv...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994